#pragma once

using namespace std;

namespace ISAPI_Python {

	namespace Win32Helpers {

		class MD5HashProvider {
		protected:
			HCRYPTPROV phCryptProv;
			HCRYPTHASH hHash;

		public:
			MD5HashProvider();
			MD5HashProvider(const MD5HashProvider& otherMD5HashProvider) throw();
			MD5HashProvider& operator =(const MD5HashProvider& otherMD5HashProvder) throw();
			virtual ~MD5HashProvider() throw();
			
			void AddData(string value);
			const string GetHashString() const;
		};
	}
}